package cn.cjp.day04;
//定义抽象类
@SuppressWarnings({"ALL", "AlibabaAbstractClassShouldStartWithAbstractNaming"})
public abstract  class Abstract {
    //抽象方法
    public abstract void method1();

    //父类构造方法
    public Abstract(){
        System.out.println("父类构造方法");
    }

    public void method2(){

    }
}
